home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
comm
/
mail
/
iris.lha
/
Iris
/
IrisRMail.irx
< prev
next >
Wrap
Text File
|
1998-07-30
|
1KB
|
43 lines
/* REXX-script to read mail into Iris
$VER: IrisRMail.irx 1.2 (30.7.98) supplied with Iris V1.6
*/
if ~show('l','rexxsupport.library') then addlib('rexxsupport.library',0,-30,0) else nop
if showlist('a','AMITCP') then do
irispath='AMITCP:Iris/Iris' /*
* This may need adaptation. You may remove
* all these if's and just include the path.
*/
end
else do
if showlist('v','WORK') then do
irispath='Work:Iris/Iris'
end
else do
irispath='SYS:Iris/Iris'
end
end
arg filename
if ~exists(irispath) then
do
reqbody='"The path of Iris is wrong.*N'
reqbody=reqbody||'Please change it in the*Nscript."'
address command 'requestchoice "IrisRMail.irx"' reqbody '"Abort"'
exit 20
end
if ~show('P','IRIS') then
do
address command 'run <nil: >nil: '||irispath
address command 'WaitForPort IRIS'
if rc~=0 then do
address command 'requestchoice "IrisRMail" "Iris' ARexx port doesn't appear." "Abort"'
exit 20
end
end
address 'IRIS' 'READMESSAGE' filename '0 *'